﻿<UserControl x:Class="XmlStudio.Resources.UserControls.OKCancelButtons"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:loc="clr-namespace:Tomers.WPF.Localization;assembly=Tomers.WPF.Localization" 
             mc:Ignorable="d">
    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom">
        <Button Width="{StaticResource ButtonWidth}" Height="{StaticResource ButtonHeight}" loc:Translate.Uid="OKCancelButtons.OK" Content="{loc:Translate OK}" IsDefault="True" Click="OKButtonClicked" Margin="0 0 7 0" />
        <Button Width="{StaticResource ButtonWidth}" Height="{StaticResource ButtonHeight}" loc:Translate.Uid="OKCancelButtons.Cancel" Content="{loc:Translate Cancel}"  IsCancel="True" Margin="0 0 0 0" />
    </StackPanel>
</UserControl>